JavaScript
A5.audio.Recorderpause Method
Syntax
A5.audio.Recorder.pause()
Description
Pause the current recording.
Example: Pausing a Recording for the AudioRecorderAndPlayer Control
The UX Component AudioRecorderAndPlayer control's JavaScript object can be used to pause a recording. The _rec property of the object contains the audio recorder class methods. The JavaScript below demonstrates how to pause a recording for an AudioRecorderAndPlayer control:
// Get the JavaScript object for the AudioRecorderAndPlayer Control
var audioObj = {dialog.object}.getControl("AUDIORECORDERANDPLAYER");
if (audioObj) {
// Pause the recording
audioObj._rec.pause();
}See Also